﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AccountList.aspx.cs" Inherits="ADMIN_AccountList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>问卷调查系统</title>
    <link rel="stylesheet" type="text/css" title="Red" href="CSS/style_red.css" />
    <link rel="stylesheet" type="text/css" title="Red" href="CSS/System.css" />
    <script language="javascript" type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/flexigrid/flexigrid.css">
    <link href="./js/ui/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/ui/jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript" src="js/flexigrid.js"></script>
    <script type="text/javascript" src="js/AccountList.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div id="header">
            <div id="header_inner" class="fixed">
                <div id="logo">
                    <h1>
                        <span>问卷调查系统</span>2.0</h1>
                    <h2>
                        By PMG</h2>
                </div>
                <div id="menu">
                    <ul>
                        <li><a href="./SurveyAdd.aspx" >添加问卷</a></li>
                        <li><a href="./SurveyEdit.aspx">问卷管理</a></li>
                        <li><a href="./StatList.aspx">查看统计分析</a></li>
                        <li><a href="./AccountList.aspx" class="active">查看答卷</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div id="main">
            <div id="main_inner" class="fixed">
                <div id="primaryContent_2columns">
                    <div id="columnA_2columns">
                        <h3>
                            用户信息</h3>
                        <p>
                            <!--注意表头，必须严格按这个写-->
                            <asp:GridView ID="gridAlbum" runat="server" OnPreRender="gridAlbum_PreRender" AutoGenerateColumns="False"
                                CssClass="flexme" CellSpacing="-1" GridLines="None">
                                <Columns>
                                    <asp:BoundField DataField="Id" HeaderText="编号"></asp:BoundField>
                                    <asp:BoundField DataField="FULLNAME" HeaderText="联系人"></asp:BoundField>
                                    <asp:BoundField DataField="COMPANY" HeaderText="公司名称"></asp:BoundField>
                                    <asp:BoundField DataField="TEL" HeaderText="联系电话"></asp:BoundField>
                                    <asp:TemplateField HeaderText="提交日期">
                                        <ItemTemplate>
                                            <%# Convert.ToDateTime(Eval("CREATEDATE")).ToString("yyyy-MM-dd")%>
                                        </ItemTemplate> 
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="查看答卷">
                                    <ItemTemplate>
                                        <%# "<a href='#' onclick=OpenDetail(" + Eval("Questionnaireid") + "," + Eval("Id") + ")>查看答卷</a>"%>
                                    </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                            <!--分页器-->
                            <asp:Literal ID="lt_pager" runat="Server" />
                            <a href = "SurveyExcel.aspx">[导出Excel]</a>
                        </p>
                        <br class="clear" />
                        
                    </div>
                </div>
                <div id="secondaryContent_2columns">
                    <div id="columnC_2columns">
                        <h4>
                            <span>用户搜索</span></h4>
                        <div id="search">
                            <input type="text" class="text" name="keywords" />
                            <input type="submit" class="button" value="Go" />
                            <br class="clear" />
                        </div>
                        <h4>
                            <span>搜索说明</span></h4>
                        <p>
                            <strong>Veroeros sed</strong> varius sollici, arcu. Vivamus et viverra. tor. Aenean
                            felis. Quisque eros. <a href="#">Lorem ipsum dolor</a>.</p>
                    </div>
                </div>
                <br class="clear" />
            </div>
        </div>
        <div id="footer" class="fixed">
            Copyright &copy; 2009 Your Website. All rights reserved.
        </div>
        <div id="Form_Detail"></div>
    </form>
</body>
</html>
